package com.hyy.service;

import com.hyy.entity.User;
import com.hyy.utils.ResultData;

import java.util.List;

public interface UserService {
    List<User> selectAllUser();

    ResultData<User> selectlogin(User user);

//    根据uid来进行查询
    ResultData<User> selectByUid(Integer uid);

    ResultData<User> selectPageUser(Integer currentPage, Integer pageSize);

    ResultData<Integer> updateUserById(User user);

    ResultData<Integer> deleteUserByUid(Integer uid);

}
